<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    const arr = ['读书','感悟','超越'];
    const a = arr.splice(1,1,'运动');
    console.log(arr);
    console.log(a);
</script>
</body>
</html>
